#ifndef SERIAL_PORT_THREAD_H
#define SERIAL_PORT_THREAD_H

#include <QtCore>
#include <qextserialport.h>

class SerialPortThread: public QThread
{
    Q_OBJECT
public:
        SerialPortThread(QextSerialPort *port);
private:
        char rxData[1024];
        void run();
private signals:
        void SerialPortThreadReceiveData(char rxData[], int len);
}

#endif  //SERIAL_PORT_THREAD_H
